<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
     <h3>员工详情</h3>
      <table>
           <tr>
             <td>编号</td>
             <td>${emp.empno}</td>
           </tr>
           <tr>
             <td>姓名</td>
             <td>${emp.ename}</td>
           </tr>
           <tr>
             <td>性别</td>
             <td>${emp.esex}</td>
           </tr>
           <tr>
             <td>年龄</td>
             <td>${emp.eage}</td>
           </tr>
           <tr>
             <td>薪资</td>
             <td>${emp.esalary}</td>
           </tr>
           <tr>
             <td>部门</td>
             <td>${emp.dept.dname}</td>
           </tr>
            <tr>
             <td>经理</td>
             <td>${emp.mgr.ename}</td>
           </tr>
      </table>
</body>
</html>